import 'package:flutter_shop/generated/json/base/json_convert_content.dart';
import 'package:flutter_shop/widget/tree_select/tree_node.dart';

/// Title:部门信息 <br/>
/// Description: <br/>
/// author:xiemiao <br/>
/// date: 2020-04-16  <br/>
/// version 1.0 <br/>
class DeptInfo extends TreeNode with JsonConvert<DeptInfo> {
  String Id;
  String Name;
  String Category;
  String ParentId;
  String DutyPerson;

  @override
  String get_id() {
    return this.Id;
  }

  @override
  String get_label() {
    return this.Name;
  }

  @override
  String get_parentId() {
    return this.ParentId;
  }

  @override
  bool isCanCheck() {
    return true;
  }
}
